<!DOCTYPE html>
<html>
<div id="editForm">
  <div class="form-group">
    <label class="control-label col-xs-3">描述信息</label>
    <div class="col-xs-8">
      <div class="input-icon right">
        <input type="text" id="switch_desc_txt" name="desc" field="desc" class="form-control"/>
      </div>
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-3 is-required">分支条件</label>
    <div class="col-xs-8">
      <div class="input-icon right">
        <input type="text" class="form-control" id="switch_condition_txt" name="condition" field="condition" required/>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
  $(function () {
    if (pktSelectNode.dataModel) {
      applyDrawing('#editForm', pktSelectNode.dataModel)
    }
  })
</script>
